export default {
  getUserPhone(state) {
    if (state.userPhone) {
      return state.userPhone;
    }
    return window.localStorage.getItem('userPhone')
  },
  getToken(state) {
    if (state.token) {
      return state.token;
    }
    return window.localStorage.getItem('token')
  }
}